package com.wr.sqlSession;

import java.util.List;

/**
 * @author 王瑞
 * @Description :SqlSession接口 扶着定义对数据库进行交互的增删改查方法
 * @date 2020/1/29 - 20:52
 */
public interface SqlSession {


    public <E> List<E> selectList(String statementId,Object... args)throws Exception;


    public <T>T selectOne(String statmentId,Object... args)throws Exception;

    <T> T getMapper(Class<?> mapperClass);
}
